package com.open.capacity.task.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.open.capacity.common.model.SysMenu;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class TaskComment implements Serializable {
    private Integer id; //评论id
    private String userId; //评论用户id，用户唯一标识符
    private String content;//评论内容
    private Integer cLikes;//点赞数
    private Integer cReply;//评论回复量
    private Integer isAdopt;//是否被采纳
    @TableField(value="cid")
    private Integer cId;//父级评论id
    private Integer tId;//评论的所属任务id
    private Integer status;//数据状态1：正常；2：逻辑删除
    @TableField(value="createTime")
    private String createTime;//评论时间
    @TableField(exist=false)
    private List<TaskComment> subComment;
}
